﻿using System.Data;
using DAL;

namespace BLL
{
    public class BllCashFund
    {
        #region[Get-Data]
        public DataTable CashFundGet(string keywords)
        {
            return DalCashFund.CashFundGet(keywords);
        }
        public DataTable CashFundGetEdit(int id)
        {
            return DalCashFund.CashFundGetEdit(id);
        }
        public DataTable SumCashFund()
        {
            return DalCashFund.SumCashFund();
        }
        public DataTable SumCashFundReportReceipt()
        {
            return DalCashFund.SumCashFundReportReceipt();
        }
        public DataTable CashFundGetFillter(int id)
        {
            return DalCashFund.CashFundGetFillter(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Insert(EtCashFund obj)
        {
            return DalCashFund.Insert(obj);
        }
        public static bool Update(EtCashFund obj)
        {
            return DalCashFund.Update(obj);
        }
        public static bool Delete(EtCashFund obj)
        {
            return DalCashFund.Delete(obj);
        }
        #endregion
    }
}